
angular.module('zixys.styleCollection',[])

    .directive('styleCollection',function(){
        return {
            restrict: 'C',
            replace: false,
            scope: {},
            template:							
                        '<div id="zixys-selector-tab" ng-controller="styleCollectionCtrl" >'+
                            'to be renamed to BOX model'+
                        '</div>',

            link: function($scope, element, attrs) {
                var selectedElement;
                $scope.$root.$on('selectElement',function(event,selElem){
                    selectedElement = selElem;
                })
            }
        }
    })
    
    .controller('styleCollectionCtrl',['$scope','style','selectorTools',function($scope, style, selectorTools){

    }])

    .run(['$rootScope',function($rootScope){
        
        $rootScope.$on('zixysDomReady',function(event,params){
            $rootScope.addTab('Element','style-collection');
        });
        
    }]);
    
    